package com.dj.mingkong.admin.biz.repository.database.music.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dj.mingkong.admin.biz.scheduler.vo.gen.ListMusicianVo;
import com.dj.mingkong.admin.biz.scheduler.vo.gen.MusicianDetailVo;
import com.dj.mingkong.common.infrastructure.eo.database.music.MusicianEo;

import java.util.List;

/**
 * 音乐人mapper
 *
 * @author zenglonghui
 * @date: 2022/5/18 9:35
 */
public interface MusicianMapper extends BaseMapper<MusicianEo> {
    /**
     * 获取音乐人列表
     *
     * @param musicianVoPage {}
     * @return ListMusicianVo
     */
    Page<ListMusicianVo> selectMusicianPage(Page<ListMusicianVo> musicianVoPage);

    /**
     * 获取所有音乐人数据
     *
     * @return MusicianVo
     */
    List<MusicianDetailVo> selectAll();
}
